public class Place
{
    private String name; // name of place
    
    /**
     * Initialize place
     * 
     * @param name
     *            name of place
     */
    public Place(String name)
    {
        setName(name);
    }
    
    /**
     * @return name of place
     */
    public String getName()
    {
        return name;
    }
    
    /**
     * Set name of place
     * 
     * @param name
     *            name of place
     */
    private void setName(String name)
    {
        this.name = name;
    }
    
    /**
     * @return String representation of the place
     */
    public String toString()
    {
        return getName();
    }
}
